package day0519;

import java.util.Scanner;

public class Test8 {
    public static void main(String[] args) {
        int a= 3;//new Scanner(System.in).nextInt();//3
        int b= 2;//new Scanner(System.in).nextInt();//2
        int c= 1;//new Scanner(System.in).nextInt();//1
        //将abc的值进行升序排列
        if(a>b){
            a=a^b;//a2, b1, c3
            b=a^b;
            a=a^b;
        }

        if(b>c){
           int t=b;
           b=c;
           c=t;
        }

        if(a>b){
            a=a^b;//a2, b1, c3
            b=a^b;
            a=a^b;
        }
    }
}
